package com.yitao.client.dto.order;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 订单操作
 *
 * @Auther: Kien
 * @Date: 2019/3/8 16:11
 * @Description:
 */
public class MallOrderLogDto extends BaseDto {

    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Long id;

    /**
     * 订单id号
     */
    @ApiModelProperty("订单id号")
    private Long orderId;

    @ApiModelProperty("订单id类型 0:父订单 1:子订单")
    private Integer orderType;

    /**
     * 订单code
     */
    @ApiModelProperty("订单code")
    private String orderCode;

    /**
     * 订单操作类型 10:待付款 30:待发货 40:已发货 60:交易完成(已签收,未评价) 70:订单完结(已评价)
     */
    private Integer operationType;

    /**
     * 操作信息(如:已发货，已收货)
     */
    @ApiModelProperty("操作信息(如:已发货，已收货)")
    private String operationInformation;

    /**
     * 是否被删除 0 否 1 是
     */
    @ApiModelProperty("是否被删除 0 否 1 是")
    private Boolean isDelete;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 操作人
     */
    @ApiModelProperty("操作人")
    private String createBy;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public String getOperationInformation() {
        return operationInformation;
    }

    public void setOperationInformation(String operationInformation) {
        this.operationInformation = operationInformation;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }
}
